<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户显示</title>
<script type="text/javascript" src="../js/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
	$(document)
			.ready(
					function() {
						$.post(
										"showUser.action",
										function(result) {
											var str = "";
											for ( var i = 0; i < result.length; i++) {
												str += '<tr><td>'
														+ result[i].uid
														+ '</td><td>'
														+ result[i].eid
														+ '</td><td>'
														+ result[i].ename
														+ '</td><td>'
														+ result[i].upass
														+ '</td><td>'
														+ result[i].departments
														+ '</td><td>'
														+ result[i].duties
														+ '</td><td><a href=deleteUser.action?user.usCid='
														+ result[i].uid
														+ '>删除</a><a href=getUser.action?user.usCid='
														+ result[i].uid
														+ '>修改</a></td></tr>';
											}
											$("#tb").html(str);

										},'json');
					});
</script>
</head>
<body>
	<table>
		<thead>
			<tr>
				<td>用户序号</td>
				<td>编号</td>
				<td>姓名</td>
				<td>密码</td>
				<td>部门</td>
				<td>职务</td>
				<td>操作</td>
			</tr>
		</thead>
		<tbody id="tb">



		</tbody>

	</table>
	
</body>
</html>